package com.zhzy.api.fegin.service.fallback;

import com.zhzy.api.fegin.service.FMemberService;
import org.springframework.stereotype.Component;

/**
 * Created by zj on 2017/7/5.
 * 段容器的返回错误的bean
 */
@Component
public class FMemberServiceHystric implements FMemberService {
    @Override
    public String findMember(String name) {
        return "sorry "+name;
    }
}
